package data.nanjing.expo.models.domain.dto.exhibition;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;

import java.util.Date;

/**
 * 用户的展会信息
 *
 * @author ChanJi
 * @create 2018-06-30 11:48
 **/
public class ExpoOfUser {
    /**
     * 展会id
     */
    private Integer id;
    /**
     * 展会名称
     */
    private String expoName;
    /**
     * 展会简介
     */
    private String expoResume;
    /**
     * 开始时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm", timezone="GMT+8")
    private Date startTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm", timezone="GMT+8")
    private Date endTime;
    /**
     * 展会领域
     */
    private String expoScope;
    /**
     * 展会的状态，无论用户取消还是管理员取消都算作展会取消
     */
    private String delStatus;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getExpoName() {
        return expoName;
    }

    public void setExpoName(String expoName) {
        this.expoName = expoName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getExpoResume() {
        return expoResume;
    }

    public void setExpoResume(String expoResume) {
        this.expoResume = expoResume;
    }

    public String getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(String delStatus) {
        this.delStatus = delStatus;
    }

    public String getExpoScope() {
        return expoScope;
    }

    public void setExpoScope(String expoScope) {
        this.expoScope = expoScope;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "ExpoOfUser{" +
                "id=" + id +
                ", expoName='" + expoName + '\'' +
                ", expoResume='" + expoResume + '\'' +
                ", startTime=" + startTime +
                ", expoScope='" + expoScope + '\'' +
                ", delStatus='" + delStatus + '\'' +
                '}';
    }
}
